package com.hundsun.monitor.client.gadgets;

import com.hundsun.monitor.client.model.Gadget;
import com.hundsun.monitor.client.model.GadgetClass;
import com.hundsun.monitor.client.view.GoogleMap;

public class GoogleMapsGadget  extends Gadget {
	
	public static class Class extends GadgetClass {
		public Class(){
			super("Google Maps",false);
		}
		public Gadget newGadget(){
			return new GoogleMapsGadget(this);
		}
	}

	private GoogleMap map = new GoogleMap();
	protected GoogleMapsGadget( Class c ){
		super( c );
		initWidget( map );
		map.setCenter( 37.4419, -122.1419 );
	}

}
